#ifndef _ZGRID_H_
#define _ZGRID_H_

class ZGrid : public ZCommonModel
{
public:

	struct GRIDVERTEX
	{
		D3DXVECTOR3 p;
		DWORD Color;

		enum { FVF=(D3DFVF_XYZ | D3DFVF_DIFFUSE) };
	};


	ZGrid();
	~ZGrid();
	HRESULT Init();
	VOID Draw();
	VOID CleanUp();

private:
	HRESULT _InitVB();

	LPDIRECT3DVERTEXBUFFER9 m_pVB;
};

#endif